package com.easy.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easy.bean.Goods;

public interface GoodsService {

	public Goods getGoodsById(int id);
	public Page<Goods> getGoodsPage(int currentPage, int pageSize);
	public List<Goods> getAllGoods();
	public Page<Goods> getGoods(int currentPage, int pageSize,Goods goods);
	public boolean deleteGoods(Goods goods);
	public boolean editGoods(Goods goods);
	public boolean insertGoods(Goods goods);
}
